package com.yqg.education.mapper;

import com.yqg.education.entity.LessonNote;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxf
 * @since 2025-09-13
 */
@Mapper
public interface LessonNoteMapper extends BaseMapper<LessonNote> {

    List<LessonNote> pageList(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize, @Param("name") String name, Integer courseId);

    Long findCount(String name, Integer courseId);
}
